import React, { Component } from 'react'
import { BrowserRouter } from 'react-router-dom'
import RouterView from './router';
import routes from './router/config';

export default class App extends Component {
  render() {
    return (
      <div>
        <BrowserRouter className="app" >
          <RouterView routes={routes}></RouterView>
        </BrowserRouter>
      </div>
    )
  }
}
